class Micropost < ActiveRecord::Base
  # relationship
  belongs_to :user
  # set the content length limit and must presences
  validates :content, length: { maximum: 140 }, presence: true
end
